package sanshui.system.trade.db.entity;

import java.io.Serializable;

public class TradeAccount implements Serializable {
    private Long accId;

    private String accDesc;

    private Long initValue;

    private Long currentValue;

    private Long currentCash;

    private Integer accStatus;

    private String delFlg;

    private String accToken;

    private String accUsername;

    private String accPw;

    private String startDatetime;

    private String endDatetime;

    private String marketType;

    private Long userId;

    private Integer feeRateAround;

    private Integer buyFeeRateGuo;

    private Integer buyFeeRateQuan;

    private Integer sellFeeRateQuan;

    private Integer sellFeeRateYin;

    private Integer sellFeeRateGuo;

    private Integer buyFixedFee;

    private Integer sellFixedFee;

    private Integer feeAround;

    private String accountType;

    private static final long serialVersionUID = 1L;

    public Long getAccId() {
        return accId;
    }

    public void setAccId(Long accId) {
        this.accId = accId;
    }

    public String getAccDesc() {
        return accDesc;
    }

    public void setAccDesc(String accDesc) {
        this.accDesc = accDesc == null ? null : accDesc.trim();
    }

    public Long getInitValue() {
        return initValue;
    }

    public void setInitValue(Long initValue) {
        this.initValue = initValue;
    }

    public Long getCurrentValue() {
        return currentValue;
    }

    public void setCurrentValue(Long currentValue) {
        this.currentValue = currentValue;
    }

    public Long getCurrentCash() {
        return currentCash;
    }

    public void setCurrentCash(Long currentCash) {
        this.currentCash = currentCash;
    }

    public Integer getAccStatus() {
        return accStatus;
    }

    public void setAccStatus(Integer accStatus) {
        this.accStatus = accStatus;
    }

    public String getDelFlg() {
        return delFlg;
    }

    public void setDelFlg(String delFlg) {
        this.delFlg = delFlg == null ? null : delFlg.trim();
    }

    public String getAccToken() {
        return accToken;
    }

    public void setAccToken(String accToken) {
        this.accToken = accToken == null ? null : accToken.trim();
    }

    public String getAccUsername() {
        return accUsername;
    }

    public void setAccUsername(String accUsername) {
        this.accUsername = accUsername == null ? null : accUsername.trim();
    }

    public String getAccPw() {
        return accPw;
    }

    public void setAccPw(String accPw) {
        this.accPw = accPw == null ? null : accPw.trim();
    }

    public String getStartDatetime() {
        return startDatetime;
    }

    public void setStartDatetime(String startDatetime) {
        this.startDatetime = startDatetime == null ? null : startDatetime.trim();
    }

    public String getEndDatetime() {
        return endDatetime;
    }

    public void setEndDatetime(String endDatetime) {
        this.endDatetime = endDatetime == null ? null : endDatetime.trim();
    }

    public String getMarketType() {
        return marketType;
    }

    public void setMarketType(String marketType) {
        this.marketType = marketType == null ? null : marketType.trim();
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getFeeRateAround() {
        return feeRateAround;
    }

    public void setFeeRateAround(Integer feeRateAround) {
        this.feeRateAround = feeRateAround;
    }

    public Integer getBuyFeeRateGuo() {
        return buyFeeRateGuo;
    }

    public void setBuyFeeRateGuo(Integer buyFeeRateGuo) {
        this.buyFeeRateGuo = buyFeeRateGuo;
    }

    public Integer getBuyFeeRateQuan() {
        return buyFeeRateQuan;
    }

    public void setBuyFeeRateQuan(Integer buyFeeRateQuan) {
        this.buyFeeRateQuan = buyFeeRateQuan;
    }

    public Integer getSellFeeRateQuan() {
        return sellFeeRateQuan;
    }

    public void setSellFeeRateQuan(Integer sellFeeRateQuan) {
        this.sellFeeRateQuan = sellFeeRateQuan;
    }

    public Integer getSellFeeRateYin() {
        return sellFeeRateYin;
    }

    public void setSellFeeRateYin(Integer sellFeeRateYin) {
        this.sellFeeRateYin = sellFeeRateYin;
    }

    public Integer getSellFeeRateGuo() {
        return sellFeeRateGuo;
    }

    public void setSellFeeRateGuo(Integer sellFeeRateGuo) {
        this.sellFeeRateGuo = sellFeeRateGuo;
    }

    public Integer getBuyFixedFee() {
        return buyFixedFee;
    }

    public void setBuyFixedFee(Integer buyFixedFee) {
        this.buyFixedFee = buyFixedFee;
    }

    public Integer getSellFixedFee() {
        return sellFixedFee;
    }

    public void setSellFixedFee(Integer sellFixedFee) {
        this.sellFixedFee = sellFixedFee;
    }

    public Integer getFeeAround() {
        return feeAround;
    }

    public void setFeeAround(Integer feeAround) {
        this.feeAround = feeAround;
    }

    public String getAccountType() {
        return accountType;
    }

    public void setAccountType(String accountType) {
        this.accountType = accountType == null ? null : accountType.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", accId=").append(accId);
        sb.append(", accDesc=").append(accDesc);
        sb.append(", initValue=").append(initValue);
        sb.append(", currentValue=").append(currentValue);
        sb.append(", currentCash=").append(currentCash);
        sb.append(", accStatus=").append(accStatus);
        sb.append(", delFlg=").append(delFlg);
        sb.append(", accToken=").append(accToken);
        sb.append(", accUsername=").append(accUsername);
        sb.append(", accPw=").append(accPw);
        sb.append(", startDatetime=").append(startDatetime);
        sb.append(", endDatetime=").append(endDatetime);
        sb.append(", marketType=").append(marketType);
        sb.append(", userId=").append(userId);
        sb.append(", feeRateAround=").append(feeRateAround);
        sb.append(", buyFeeRateGuo=").append(buyFeeRateGuo);
        sb.append(", buyFeeRateQuan=").append(buyFeeRateQuan);
        sb.append(", sellFeeRateQuan=").append(sellFeeRateQuan);
        sb.append(", sellFeeRateYin=").append(sellFeeRateYin);
        sb.append(", sellFeeRateGuo=").append(sellFeeRateGuo);
        sb.append(", buyFixedFee=").append(buyFixedFee);
        sb.append(", sellFixedFee=").append(sellFixedFee);
        sb.append(", feeAround=").append(feeAround);
        sb.append(", accountType=").append(accountType);
        sb.append("]");
        return sb.toString();
    }
}